Conference Proceedings
Signedness-Agnostic Program Analysis: Precise Integer Bounds for Low-Level Code
JA Navas, P Schachte, H Sondergaard, PJ Stuckey, R Jhala (ed.), A Igarashi (ed.)
APLAS 2012: Proceedings of the 10th Asian Symposium on Programming Languages and Systems | Springer Berlin Heidelberg | Published : 2012
Abstract
Many compilers target common back-ends, thereby avoiding the need to implement the same analyses for many different source languages. This has led to interest in static analysis of LLVM code. In LLVM (and similar languages) most signedness information associated with variables has been compiled away. Current analyses of LLVM code tend to assume that either all values are signed or all are unsigned (except where the code specifies the signedness). We show how program analysis can simultaneously consider each bit-string to be both signed and unsigned, thus improving precision, and we implement the idea for the specific case of integer bounds analysis. Experimental evaluation shows that this pr..
View full abstract